package com.kuang.service;

import com.kuang.pojo.Students;
import java.util.List;

public interface StudentService {

    //add a student data
    int addStudent(Students student);

    //delete a student data which Sno equal
    int deleteStudentBySno(String Sno);

    //update a student data
    int updateStudent(Students student);

    //search a student by Sno
    Students queryStudentBySno(String Sno);

    //search all student
    List<Students> queryAllStudent();

}
